package com.gitee.minimalismstyle.fresh.flowable.api.feign.fallback

import com.gitee.minimalismstyle.fresh.common.core.domain.R
import com.gitee.minimalismstyle.fresh.flowable.api.feign.BatchpartsApi
import com.gitee.minimalismstyle.fresh.flowable.api.feign.model.BatchPartResponse

class BatchpartsApiFallback : BatchpartsApi {
    override fun getBatchPart(batchPartId: String): R<BatchPartResponse> {
        return R.error("服务无法访问")
    }
}